<?php


namespace app\admin\validate;

class PayChannel extends BaseAdmin
{
    // 验证规则
    protected $rule = [
        'name'  => 'require|length:3,10'
    ];

    // 验证提示
    protected $message = [
        'name.require'    => '渠道名不能为空',
        'name.length'     => '渠道名长度为6-30个字符之间'
    ];
}